const fs = require("fs")
const path = require("path")

let filesName = ''
fs.readdir(path.join(__dirname,"../../public/img"),(err, files) => {
    if (err){
        console.log(err)
    }else {
        filesName = files
    }
})

export default filesName
